

package common;

import java.io.UnsupportedEncodingException;
import java.sql.*;
import java.sql.Connection;
import java.sql.SQLException;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.Properties;

import javax.naming.NamingException;
import javax.servlet.http.*;

import command.Command;
import command.CommandException;
import db.CommonConnect;
import common.CommonUtil;
import db.QueryManager;
import db.DAO;


public class agent  {
	public static void main(String[] args) throws Exception{
  
		
		try {
        		Class.forName("com.mysql.jdbc.Driver");
        		Connection con = DriverManager.getConnection("jdbc:mysql://10.10.20.143:3306/lms","eduhrd_lms_site","site5508448");

        		CallableStatement cs = con.prepareCall("{call test_CourseInfo()}");
        		cs.execute();
cs.close();
con.close();
		} catch (SQLException e) {
			e.printStackTrace();
		} catch (ClassNotFoundException e) {
			e.printStackTrace();
		}
	}		
	

}
